//
//  TotalSubData.swift
//  DaRings
//
//  Created by 尹琼 on 2022/11/18.
//

import UIKit
import HandyJSON

open class TrainingDetailTotalDataSubModel: Equatable, HandyJSON {
    public static func == (lhs: TrainingDetailTotalDataSubModel, rhs: TrainingDetailTotalDataSubModel) -> Bool {
        return lhs.iconName == rhs.iconName && lhs.value == rhs.value && lhs.unit == rhs.unit && lhs.title == rhs.title
    }
    
    
    public var iconName: String = ""
    public var value: String = ""
    public var unit: String = ""
    public var title: String = ""
    
    required public init() {}
    
    public init(iconName: String, value: String, unit: String, title: String) {
        self.iconName = iconName
        self.value = value
        self.unit = unit
        self.title = title
    }

}
